texture2D Texture1 : register(t0);
sampler2D Texture1Sampler = sampler_state
{
	Texture = <Texture1>;
	MinFilter = LINEAR;
	MagFilter = LINEAR;
	MipFilter = LINEAR;
};

texture2D Texture2 : register(t1);
sampler2D Texture2Sampler = sampler_state
{
	Texture = <Texture2>;
	MinFilter = LINEAR;
	MagFilter = LINEAR;
	MipFilter = LINEAR;
};

void PSMain(
	float2 iTexCoord1 : TEXCOORD0,
	float2 iTexCoord2 : TEXCOORD1,
	
	out float4 oColor : COLOR0 )
{
	oColor = tex2D(Texture1Sampler, iTexCoord1) * tex2D(Texture2Sampler, iTexCoord2);
}